Skip to content

Allow 0 replicas for app resource. Fix cname value in examples#18

Merged
ewgenius merged 6 commits into
trunkfrom
evgenii/2026-02-16/fix-app-replicas
Feb 18, 2026
Merged

Allow 0 replicas for app resource. Fix cname value in examples#18
ewgenius merged 6 commits into
trunkfrom
evgenii/2026-02-16/fix-app-replicas

Conversation

@ewgenius
Copy link
Copy Markdown
Collaborator

@ewgenius ewgenius commented Feb 16, 2026

This pull request updates the documentation for the Terraform Provider for Spice.ai to improve clarity, accuracy, and usability. The main themes are: modernizing and simplifying the README.md, updating region and Spicepod version references across docs, clarifying configuration and usage examples, and improving resource/data source documentation.

Most important changes:

Documentation modernization and simplification:

  • The README.md was rewritten for clarity, with improved installation instructions, authentication details, and a simplified example. Extensive resource and data source documentation was moved out of the README and replaced with links to dedicated documentation files. [1] [2] [3]

Region and Spicepod version consistency:

  • All documentation and examples now use the region CNAME us-west-2-prod-aws-data instead of the old us-east-2.spice.cloud or us-west-2.spice.cloud, ensuring consistency across guides, schemas, and OpenAPI/spec references. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]
  • All Spicepod configuration examples now use version: v1 for consistency and to reflect the current schema version. [1] [2] [3] [4] [5]

Resource and data source documentation improvements:

  • Added clear and practical "Example Usage" sections to data source documentation files for api_keys, container_images, and regions, making it easier for users to understand how to retrieve and use this data in Terraform. [1] [2] [3]
  • Updated documentation for resource arguments, such as allowing replicas to be set to zero for both apps and deployments, reflecting recent provider changes. [1] [2]

Other improvements:

  • Updated the .terraformrc.example to use a generic placeholder path for the provider binary, making the example more broadly applicable.

@ewgenius ewgenius self-assigned this Feb 16, 2026
@ewgenius ewgenius added the enhancement New feature or request label Feb 16, 2026
@ewgenius ewgenius requested a review from a team February 16, 2026 21:28
- Add example usage sections to API keys, container images, and regions
  data source docs
- Add corresponding Terraform example files for each data source
- Update .gitignore to include Terraform state and lock files
- Update .terraformrc.example with placeholder provider path
- Remove obsolete .terraform.lock.hcl from local-spice-api example
@ewgenius ewgenius merged commit 0c4b8a5 into trunk Feb 18, 2026
7 checks passed
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Mar 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants